var Script = function() {
	$().ready(function() {
		// validate the comment form when it is submitted
		// validate signup form on keyup and submit
		var $addForm = $("#eidtForm"), $submit = $addForm.find(":submit");
		$submit.prop("disabled", false);
		$addForm.validate({
			rules : {
				intro : "required",
				permissionname : "required",
				path : "required",
				cont : "required"
			},
			messages : {
				intro : "请输入权限名称",
				path : "请输入关联地址",
				cont : "请输入权限配置",
				permissionname : "请输入权限内容"
			}
		});
	});

}();